package org.dtrd.modules.achievement.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.dtrd.modules.suggest.entity.bean.SigninRecordSuggestListInfo;

import java.util.List;

/**
 * @author 萧
 * @date:2021-10-01 10:51 下午
 **/
@Data
@ApiModel(value = "打卡记录")
public class PatientSigninRecord {

    @ApiModelProperty(value = "记录ID")
    private Integer dataId;

    @ApiModelProperty(value = "今日打卡左上图标")
    private String icon;

    @ApiModelProperty(value = "打卡时间")
    private String recordTime;

    /**
     * {@link org.dtrd.config.system.Constant.RecordState}
     */
    @ApiModelProperty(value = "打卡状态")
    private Integer state;
    /**
     * {@link org.dtrd.config.system.Constant.RecordType}
     */
    @ApiModelProperty(value = "打卡名称")
    private String title;

    /**
     * {@link org.dtrd.config.system.Constant.RecordType}
     */
    @ApiModelProperty(value = "打卡类型")
    private Integer recordType;

    /**
     * 子类型  ，针对血糖、饮食存在，其余记录类型 默认为0 无子类型
     * {@link org.dtrd.config.system.Constant.SugarRecordType}
     * {@link org.dtrd.config.system.Constant.FoodRecordType}
     */
    @ApiModelProperty(value = "子类型")
    private Integer subType;

    @ApiModelProperty(value = "子类型名称，默认空字符串")
    private String recordTypeName="";

    @ApiModelProperty(value = "记录数值")
    private String value;

    @ApiModelProperty(value = "图片地址，以逗号拼接")
    private String imgList;

    @ApiModelProperty(value = "评分建议")
    private List<SigninRecordSuggestListInfo> signinRecordSuggestListInfo;

    @ApiModelProperty(value = "评分建议")
    private Float score;

    @ApiModelProperty(value = "记录描述")
    private String desc;
}
